package com.book.warehouse.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.common.entity.QueryRequest;
import com.book.warehouse.entity.WarehouseBook;

import java.util.List;

/**
 * @Author: 刘恬镯
 * @Description:  20174052
 */

public interface WarehouseBookService extends IService<WarehouseBook> {
    /**
     * @Description:查所有
     */
    List<WarehouseBook> findWarehouseBook(WarehouseBook warehouseBook);

    /**
     * @Description:分页
     */
    IPage<WarehouseBook> pageWarehouseBook(QueryRequest request, WarehouseBook warehouseBook);

    /**
     * @Description:申请架存分页
     */
    IPage<WarehouseBook> WarehouseBookApplyPage(QueryRequest request, WarehouseBook warehouseBook,String status);

    /**
     * @Description:新增
     */
    void addWarehouseBook(WarehouseBook warehouseBook);

    /**
     * @Description:修改
     */
    void updateWarehouseBook(WarehouseBook warehouseBook);

    /**
     * @Description:复选删除
     */
    void deleteWarehouseBook(String[] warehouseBook);

    /**
     * @Description:审批
     */
    List<WarehouseBook> askWarehouseBook(String[] warehouseBook);
}
